package cn.hdu.liang.ch1;

public class Run {
    public static void main(String[] args) throws InterruptedException {

        try {
            MyThread thread = new MyThread();
            thread.setDaemon(false);
            thread.start();
            Thread.sleep(5000);
            System.out.println("我离开了");
        } catch(InterruptedException e) {
            e.printStackTrace();
        }
    }
}
